﻿@*@{
    Layout = null;
}*@
<!DOCTYPE html>
<html>
<head>
    <meta charset="utf-8">
    <meta name="viewport" content="width=device-width, initial-scale=1, maximum-scale=1">
    <title>青橙酒店</title>
    <link rel="stylesheet" href="/layuimini/lib/layui-v2.6.3/css/layui.css">
    <link rel="stylesheet" href="//unpkg.com/layui@2.6.8/dist/css/layui.css">
</head>
<body style="background-color:#dddddd;">
    @*<div style="background-color:#393D49;">
        <div style="width: 1200px;margin:auto;">
            <ul class="layui-nav layui-bg-molv" lay-bar="disabled">
                <li class="layui-nav-item"></li>
                <li class="layui-nav-item"><a href="https://localhost:44334/Home/index">青橙酒店</a></li>
                <li class="layui-nav-item"><a href="https://localhost:44334/Home/index">酒店首页</a></li>
                <li class="layui-nav-item"><a href="https://localhost:44334/Home/index2">房间预约</a></li>
                <li class="layui-nav-item layui-this"><a href="https://localhost:44334/Home/index3">酒店简介</a></li>
                <li class="layui-nav-item"><a href="https://localhost:44334/Home/index4">联系我们</a></li>
                <li class="layui-nav-item"><div style="height:20px;width:540px;"></div></li>
                <li class="layui-nav-item">
                    <button class="layui-btn layui-btn-primary layui-border-green" onclick="zcFunction()">注册</button>
                </li>
                <li class="layui-nav-item"><div style="height:20px;width:5px;"></div></li>
                <li class="layui-nav-item">
                    <button type="button" class="layui-btn ">登录</button>
                </li>
            </ul>
        </div>
    </div>*@
    <div style="width: 1100px;margin:auto;">
        <img src="~/img/酒店信息.png" style ="width:100%;height:100%;" />
    </div>

    <script src="/layuimini/lib/layui-v2.6.3/layui.js" charset="utf-8"></script>
    <!-- 注意：如果你直接复制所有代码到本地，上述 JS 路径需要改成你本地的 -->
    <script>

          function zcFunction() {
              window.location.href='/Home/enroll';
          }

          layui.use('element', function(){
            var element = layui.element; //导航的hover效果、二级菜单等功能，需要依赖element模块

        //监听导航点击
        element.on('nav(demo)', function(elem){
          //console.log(elem)
          layer.msg(elem.text());
        });
              });
    </script>
</body>
</html>